<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="css/aui.css" />
		<script src="js/jquery-1.8.2.min.js"></script>
		<script src="js/mui.js"></script>
		<link rel="stylesheet" href="css/mui.picker.all.css" />
		<script src="js/mui.picker.all.js"></script>
		<script>
            autoload=function(){
                var data={};
                data.user_id=user_id;
                data.userpwd=userpwd;
                $.ajax({
                    type: "POST",
                    data: data,
                    url: "http://xjh.taoleyizhan.com/wap/index.php?ctl=user&act=personalData",
                    dataType: "json",
                    success: function (json) {
                        console.log(json)
                        page_data=json
						$(".mui-title").html(page_data.page_title)
                        $(".user").html(page_data.consignee_list[0].user_name);
                        $(".mobile").html(page_data.consignee_list[0].mobile);
                        $(".qq").html(page_data.consignee_list[0].qq);
                        $(".my_intro").html(page_data.consignee_list[0].my_intro);
                        if(page_data.consignee_list[0].alipayacount==0){
                            $(".zhifubao").html(" ")
						}else{
                            $(".zhifubao").html(page_data.consignee_list[0].alipayacount);
						}
                        //$(".zhifubao").html(page_data.consignee_list[0].alipayacount);
						$("#avatar").attr("src",hostUrl+page_data.consignee_list[0].avatar)
//                        InitChat();
                    },
                    error:function(json){
                        console.log(json);
                    }
                });
            }

		</script>
		<script src="js/init.js"></script>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a href="chat.html" class="mui-icon-undo mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">个人资料</h1>
			<a style="float: right;color: white;margin-top: 10px" href="set_bianji.html">编辑</a>
		</header>
		<div class="mui-content">

				<ul class="mui-table-view">
						<li class="mui-table-view-cell aui-color-black">头像
							<img class="fr" id="avatar" src="image/avatar.png" alt="" width="30">
						</li>
						<li class="mui-table-view-cell aui-color-black">ID
							<p class="fr user" id="">100006</p>
						</li>
						<li class="mui-table-view-cell aui-color-black">昵称
							<p class="fr user" id="user_name">司马懿</p>
						</li>
						<li class="mui-table-view-cell aui-color-black" id="osex">电话
							<p class="fr mobile">1991/09/09</p>
						</li>
						<li class="mui-table-view-cell aui-color-black" >支付宝
							<p class="fr mobile zhifubao"></p>
						</li>
						<li class="mui-table-view-cell aui-color-black">邮箱
							<p class="fr qq"></p>
						</li>
						<li class="mui-table-view-cell aui-color-black">签名
							<p class="fr my_intro"></p>
						</li>
				</ul>

		</div>
	</body>

</html>
